/* 
 * File:   gui.h
 * Author: tasx
 *
 * Created on 27 settembre 2011, 13.38
 */

#ifndef GUI_H
#define	GUI_H

#ifdef	__cplusplus
extern "C" {
#endif

#include <glib.h>
#include "../util/type.h"
#include "../util/gui_util.h"
#include "../gui/type_gui.h"

#define GUI_BASE_MIN_SPACE 10
    
    gui_manager* gui_init_gui();
    
    void gui_manager_update(main_obj*);
    
    void gui_manager_update_graphics(main_obj*);
    
    void gui_add_element(main_obj*, gpointer);
    
    void gui_add_button(main_obj*, button*);
    
#ifdef	__cplusplus
}
#endif

#endif	/* GUI_H */

